stage=1
stop_stage=1
export PYTHONPATH=../../:$PYTHONPATH
CUDA_VISIBLE_DEVICES="0,1,2,3"
export CUDA_VISIBLE_DEVICES=$CUDA_VISIBLE_DEVICES

if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
  # 用逗号作为分隔符将字符串分割成数组
  IFS=',' read -ra numbers <<< "$CUDA_VISIBLE_DEVICES"
  # 遍历数组中的每个数字并打印
  for number in "${numbers[@]}"; do
    export CUDA_VISIBLE_DEVICES=$number
    echo "$number"
#    python examples/hubert/simple_kmeans/dump_mfcc_feature.py
  done

#  python examples/hubert/simple_kmeans/dump_mfcc_feature.py
fi